package net.edu_soft.ec.asset.pojo;

import java.io.Serializable;

public class Factory implements Serializable {
    /**
     * 主键 id
     */
    private Integer factoryId;

    /**
     * 厂家分类
     */
    private Integer factoryType;

    /**
     * 厂家名称
     */
    private String name;

    /**
     * 厂家简介
     */
    private String introduct;

    /**
     * 负责人
     */
    private String principal;

    /**
     * logo
     */
    private String image;

    /**
     * 座机
     */
    private String phone;

    /**
     * 地址
     */
    private String address;

    /**
     * 网址
     */
    private String website;

    /**
     * 证件
     */
    private Integer papers;

    /**
     * 状态 0可用 1不可用
     */
    private Integer status;

    private static final long serialVersionUID = 1L;

    public Integer getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(Integer factoryId) {
        this.factoryId = factoryId;
    }

    public Integer getFactoryType() {
        return factoryType;
    }

    public void setFactoryType(Integer factoryType) {
        this.factoryType = factoryType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getIntroduct() {
        return introduct;
    }

    public void setIntroduct(String introduct) {
        this.introduct = introduct == null ? null : introduct.trim();
    }

    public String getPrincipal() {
        return principal;
    }

    public void setPrincipal(String principal) {
        this.principal = principal == null ? null : principal.trim();
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getWebsite() {
        return website;
    }

    public void setWebsite(String website) {
        this.website = website == null ? null : website.trim();
    }

    public Integer getPapers() {
        return papers;
    }

    public void setPapers(Integer papers) {
        this.papers = papers;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", factoryId=").append(factoryId);
        sb.append(", factoryType=").append(factoryType);
        sb.append(", name=").append(name);
        sb.append(", introduct=").append(introduct);
        sb.append(", principal=").append(principal);
        sb.append(", image=").append(image);
        sb.append(", phone=").append(phone);
        sb.append(", address=").append(address);
        sb.append(", website=").append(website);
        sb.append(", papers=").append(papers);
        sb.append(", status=").append(status);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}